package Chapter3;

class Person5{
	public Person5() {
		System.out.println("无参的构造方法被调用了。。。。");
	}
	public Person5(String name) {
		this();
		System.out.println("有参的构造方法被调用了。。。。");
	}
}

public class Example10 {
	public static void main(String[] args) {
		Person5 p=new Person5("itcast");
	}

}
